﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="LightWeb.DomainModel" namespace="LightWeb.DomainModel" default-lazy="false">
  <class name="Post">
    <id name="PrimaryKey">
      <generator class="native">
      </generator>
    </id>
    <property name="BlogID"/>
    <property name="PostID"/>
    <property name="Title"/>
    <property name="Description"/>
    <property name="Content"/>
    <property name="Created"/>
    <property name="Modified"/>

    <property name="Author"/>
    <property name="Published"/>
    <property name="CommentEnabled"/>
    <property name="Raters"/>
    <property name="Rating"/>
    <property name="Slug"/>
    <property name="IsDeleted"/>
  </class>

  <class name="Categories">
    <id name="PrimaryKey">
      <generator class="native">
      </generator>
    </id>
    <property name="CategoryID"/>
    <property name="CategoryName"/>
    <property name="Description"/>
    <property name="ParentID"/>
  </class>
</hibernate-mapping>